//
//  PASelfInfo.h
//  PAMobileWallet
//
//  Created by Gavin Zhang on 7/16/13.
//  Copyright (c) 2013 平安付. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PAUserInfo.h"
@interface PASelfInfo : NSObject

@property(nonatomic, strong)PAUserInfo *baseInfo;
@property(nonatomic, assign)double balance;
@property(nonatomic, assign)double availableBalance;
@property(nonatomic, copy)NSString *idCardNo;
@property(nonatomic, copy)NSString *loginPassword;

@property(nonatomic, strong)NSMutableArray *bankCardInfos;
@property(nonatomic, strong)NSMutableArray *timeLineInfos;

- (void)loadLoginInfoDic:(NSDictionary *)dic;
- (void)loadFromCache;
- (void)updateTimeLineInfoDics:(NSArray *)timeLineInfoDics;
- (void)updateTimeLineInfoCacheDics:(NSArray *)timeLineInfoDics;
- (void)updateBankCardInfoDics:(NSArray *)timeLineInfoDics;
- (void)updateBankCardInfoCacheDics:(NSArray *)bankCardInfoDics;
- (void)updateBaseInfo:(NSDictionary *)userInfoDic;
@end
